{include file="public/header" /}
</head>
<body>
<form class="layui-form layui-form-pane" action="" style="width: 80%;margin: 20px auto;">
    <input type="hidden" name="ids" value="{$ids|default=''}">
    <div class="layui-form-item">
        <label class="layui-form-label">分类名称</label>
        <div class="layui-input-block">
            <select name="classification_id" lay-search required lay-verify="required" placeholder="请输入资讯分类描叙" >
                <option value="">请选择</option>
                {notempty name="classificationList"}
                {volist name="classificationList" id="tl"}
                <option value="{$tl.classification_id}" >{empty name="SUBSTATIONS"}《{$tl.substation_name}》{/empty}{notempty name="$tl.level_name"}{$tl.level_name}&ensp;{/notempty}{$tl.classification_name}</option>
                {/volist}
                {/notempty}
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" type="button" lay-submit lay-filter="formDemo">立即提交</button>
        </div>
    </div>
</form>
</body>
<script>
    var form;
    layui.use('form', function(){
        form = layui.form;
        form.render();
        //监听提交
        form.on('submit(formDemo)', function(data){
            post_sub("{:url('Informations/setInformationClassification')}",data.field);
            return false;
        });
    });
</script>
</html>